package cn.stylefeng.guns.modular.order.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.order.entity.WhOutOrderRecord;
import cn.stylefeng.guns.modular.order.model.params.WhOutOrderRecordParam;
import cn.stylefeng.guns.modular.order.model.result.WhOutOrderRecordResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 武汉出库快递单合单记录 服务类
 * </p>
 *
 * @author wp
 * @since 2025-10-13
 */
public interface WhOutOrderRecordService extends IService<WhOutOrderRecord> {

    /**
     * 新增
     *
     * @author wp
     * @Date 2025-10-13
     */
    void add(WhOutOrderRecordParam param);

    /**
     * 删除
     *
     * @author wp
     * @Date 2025-10-13
     */
    void delete(WhOutOrderRecordParam param);

    /**
     * 更新
     *
     * @author wp
     * @Date 2025-10-13
     */
    void update(WhOutOrderRecordParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wp
     * @Date 2025-10-13
     */
    WhOutOrderRecordResult findBySpec(WhOutOrderRecordParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wp
     * @Date 2025-10-13
     */
    List<WhOutOrderRecordResult> findListBySpec(WhOutOrderRecordParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wp
     * @Date 2025-10-13
     */
     LayuiPageInfo findPageBySpec(WhOutOrderRecordParam param,String condition);

}
